//
//  OPRitTipsCell.m
//  OnePiece
//
//  Created by wsy on 15/10/29.
//  Copyright © 2015年 wsy. All rights reserved.
//

#import "OPRitTipsCell.h"

@implementation OPRitTipsCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _picture = [[UIImageView alloc]initWithFrame:CGRectMake(10, 5, SCREEN_WIDTH-20, SCREEN_WIDTH*0.9)];
        [self.contentView addSubview:_picture];
        _country = [[UILabel alloc]initWithFrame:CGRectMake(10, SCREEN_WIDTH*0.9+10, SCREEN_WIDTH-100, 15)];
        _country.font = [UIFont systemFontOfSize:14];
        [self.contentView addSubview:_country];
        _desc = [[UILabel alloc]initWithFrame:CGRectMake(10, SCREEN_WIDTH*0.9+30, SCREEN_WIDTH-20, 120)];
        _desc.font = [UIFont systemFontOfSize:12];
        _desc.numberOfLines = 0;
        _desc.textColor = [UIColor colorWithWhite:0.265 alpha:1.000];
        [self.contentView addSubview:_desc];
    }
    return self;
}



@end
